package com.ysj.demo.Data;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

/**
 * 评论数据
 * Created by 80530 on 2018/6/11.
 */

public class Comment extends LitePalSupport {
    private int id;
    private String content;
    private Date publishDate;
    private News news;


    @Override
    public String toString() {
        return "id = " + id + " content = " + content + " publishDate = " + publishDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public News getNews() {
        return news;
    }

    public void setNews(News news) {
        this.news = news;
    }
}
